package com.alibaba.travel.thirdpart.config;

import lombok.Data;
import lombok.ToString;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * Created with IntelliJ IDEA.
 *
 * @Author: where
 * @Date: 2023/02/27/10:01
 * @Description: oss配置信息
 */
@Component
@ConfigurationProperties(prefix = "aliyun.oss.file")
@ToString
@Data
public class OSSPropertiesConfig {
    //读取配置文件的内容
    private String endpoint;
    private String keyId;
    private String keySecret;
    private String bucketName;
}
